package util

import "math/rand"

func RandomString(n int)string{
	var letters = []byte("qwertyuiopasdfghjklzxcvbnmZXCVBNMLKJHGFDSAQWERTYUIOP")
	result := make([]byte,n)

	//rand.Seed(time.Now().Unix())//这里是什么意思

	for i := range result{
		result[i]= letters[rand.Intn(len(letters))]
	}

	return string(result)
}